Robust region segmentation method and system using the same

ABSTRACT

Provided herein is a robust region segmentation method and a system using the same, the method including receiving setting of an image in an input image; calculating representative values for each of an internal portion and an external portion of the region; calculating a cost by substituting the representative values and a pixel value of the image in a cost function, and updating the region based on the calculated cost, wherein the cost function includes a term in which a difference between the updated pixel value and an original pixel value is reflected, thereby enabling an accurate region segmentation even in ambiguous images that are complicated and where division of regions is unclear.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from Korean Patent Application No. 10-2015-0130095, filed on Sep. 15, 2015, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.

BACKGROUND

Field

The present disclosure relates to a region segmentation method, and more particularly, to a method for segmenting a wanted region from an input image based on an active contour scheme, and a system using the same.

Description of the Related Art

In the case of a medical image that is complicated and where division of regions is unclear, region segmentation becomes inaccurate.

Region segmentation by the conventional method causes problems of determining even the regions outside the actual myocardium region as myocardium regions, and also determining even the tissues inside the actual myocardium region that are not part of the myocardium as myocardium regions and so on.

Thus, there is a need to develop a method that could perform an accurate region segmentation in medical images and the like that are complicated and where division of regions is ambiguous.

SUMMARY

The present disclosure is directed to solve the aforementioned problems of prior art, that is, a purpose of the present disclosure is to provide a method for performing region segmentation more accurately based on an active contour scheme, and a system using the same.

According to an embodiment of the present disclosure, there is provided an image segmentation method including receiving setting of a region in an input image; calculating representative values for each of an internal portion and an external portion of the region; calculating a cost by substituting the representative values and a pixel value of the image in a cost function, and updating the region based on the calculated cost, wherein the cost function includes a term in which a difference between the updated pixel value and an original pixel value is reflected.

Further, the calculating and the updating may be iterated while updating the pixel value.

Further, the pixel value may be updated by adding the pixel value to a multiplication of a weighted value and a kernel function value determined by the pixel value and the representative values.

Further, the pixel value may be updated using Math Equation:

u ₀ ′=u ₀

u _(t+1) ′=u _(t) ′+Δs×f(u _(t) ′,c ₁ ,c ₂,delta)

wherein u_(t)′ may be the pixel value, u0 may be the original pixel value, Δs may be the weighted value, f( ) may be the kernel function, c₁ may be a representative value of the internal portion of the region, c₂ may be a representative value of the external portion of the region, and delta may be a predetermined constant number.

Further, the f( ) may be represented as in Math Equation:

$\left. {{{f\left( {u_{t}^{\prime},c_{1},c_{2},{delta}} \right)} = \left\{ {\begin{matrix} {{{{sign}\left( {c_{1}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{1}^{\prime} - u^{\prime}}}};} & {i \in c_{1}} \\ {{{{sign}\left( {c_{2}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{2}^{\prime} - u^{\prime}}}};} & {i \notin c_{1}} \end{matrix}\begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{d}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{i}}} \end{matrix}} \right\}},{{{in}\mspace{14mu} c_{1}} < {c_{2}\begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{i}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{d}}} \end{matrix}}}} \right\},{{{in}\mspace{14mu} c_{1}} \geq c_{2}}$ Δ c_(i) = (2 + Δ c) Δ c_(d) = (2 − Δ c)

wherein Δc may be delta.

Further, the term in which a difference between the updated pixel value and an original pixel value is reflected may be expressed as a multiplication of a coefficient and the difference between the updated pixel value and the original pixel value.

According to an embodiment of the present disclosure, there is provided an image system including an inputter configured to receive setting of an region by a user in an input image; a processor configured to calculate representative values for each of an internal portion and an external portion of the region, and to calculate a cost by substituting the representative values and a pixel value of the image in a cost function, and to update the region based on the calculated cost, wherein the cost function includes a term in which a difference between the updated pixel value and an original pixel value is reflected.

Further, the processor may iterate while updating the pixel value by adding the pixel value to a multiplication of a weighted value and a kernel function value determined by the pixel value and the representative values.

As explained hereinabove, according to the embodiments of the present disclosure, it is possible to perform region segmentation accurately even in a complicated image where division of regions is ambiguous. Further, according to embodiments of the present disclosure, it is possible to lay the foundation to enable an accurate segmentation of wanted objects from not only medical images but also from other types of images.

BRIEF DESCRIPTION OF THE DRAWING FIGURES

The above and/or other aspects of the present invention will be more apparent by describing certain embodiments of the present disclosure with reference to the accompanying drawings.

FIG. 1 is a flowchart provided to explain a region segmentation method according to an embodiment of the present disclosure.

FIG. 2 illustrates a block diagram of an image system capable of performing the region segmentation method according to another embodiment of the present disclosure.

DETAILED DESCRIPTION

Hereinafter, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.

FIG. 1 is a flowchart provided to explain the region segmentation method according to an embodiment of the present disclosure. The region segmentation method according to an embodiment of the present disclosure automatically separates an input image into an internal region and an external region based on an initial image input by the user, in order to separate a region wanted by the user from the input image.

For this purpose, as illustrated in FIG. 1, first of all, from the input image, the initial region is determined by the user, and an initial mask is created where the region is differentiated according to the determined result (S110).

Next, based on the initial mask (an updated mask in the subsequent iterating processes), the input image is differentiated into an internal region and an external region (S120).

Then, representative values are created respectively for the internal region and the external region of the differentiated region, and then in the subsequent iterating processes, the representative values are adaptively updated (S130). Further, using a pixel value and the representative values, a kernel function value to be used in updating the pixel value is calculated (S140).

Further, based on the kernel function value calculated at step S140, the pixel value is adaptively updated (S150). Next, the pixel value updated at step S150 is substituted in a cost function to calculate a cost, and the mask is updated based on the calculated cost (S160).

Meanwhile, in the mask updating at step S160, a curvature of the region that will be calculated at step S190 is used.

Then, steps S120 to S160 are iterated while updating the pixel value until certain conditions are satisfied (S170). When the iterating is completed (S170-Y), an image segmentation result is output (S180).

The cost function used at step S160 includes an adaptive mismatch analysis term for its stable and high performance. The adaptive mismatch analysis term is a term in which a difference between the updated pixel value and the original pixel value is reflected.

The cost function F( ) used at step S160 is represented as in Math Equation 1 shown below.

$\begin{matrix} {\frac{\partial F}{\partial\varphi} = {{\mu {\int\limits_{\Omega}{{\delta_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{{div}\left( \frac{\nabla{\varphi \left( {x,y} \right)}}{{\nabla{\varphi \left( {x,y} \right)}}} \right)}{x}{y}}}} + {v{\int\limits_{\Omega}{{\delta_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{x}{y}}}} + {\lambda_{1}{\int\limits_{\Omega}{{{{u_{t}^{\prime}\left( {x,y} \right)} - c_{1}}}^{2}{\delta_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{x}{y}}}} + {\lambda_{2}{\int\limits_{\Omega}{{{{u_{t}^{\prime}\left( {x,y} \right)} - c_{2}}}^{2} \times {- {\delta_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}}{x}{y}}}} + {\lambda \left( {u_{t}^{\prime} - u_{0}} \right)}}} & \left\lbrack {{Math}\mspace{14mu} {Equation}\mspace{14mu} 1} \right\rbrack \end{matrix}$

Here, u_(t)′ is the pixel value, u₀ is the original pixel value, c₁ is the representative value of the internal portion of the region, c₂ is the representative value of the external portion of the region, and λ is a value set by the user or set beforehand. Further, λ(u_(t)′−u₀), the final term in Math Equation 1 above, is the adaptive mismatch analysis term.

Meanwhile, the representative values c₁, c₂ of the internal portion/external portion of the region to be generated at step S120 are calculated using Math Equation 2 and Math Equation 3 below. Math Equation 2 is a math equation configured to calculate the representative value c₁ of the internal portion of the region, and Math Equation 3 is a math equation configured to calculate the representative value c₂ of the external portion of the region.

$\begin{matrix} {{\frac{\partial F}{\partial c_{1}} = {{\lambda_{1}{\int\limits_{\Omega}{{- 2} \times \left( {{u_{t}^{\prime}\left( {x,y} \right)} - c_{1}} \right) \times {H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{x}{y}}}} = 0}}\mspace{20mu} {c_{1} = \frac{\int\limits_{\Omega}{\left( {u_{t}^{\prime}\left( {x,y} \right)} \right) \times {H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{x}{y}}}{\int\limits_{\Omega}{{H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}{x}{y}}}}} & \left\lbrack {{Math}\mspace{14mu} {Equation}\mspace{14mu} 2} \right\rbrack \\ {{\frac{\partial F}{\partial c_{2}} = {{\lambda_{2}{\int\limits_{\Omega}{{- 2} \times \left( {{u_{t}^{\prime}\left( {x,y} \right)} - c_{2}} \right) \times \left( {1 - {H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}} \right){x}{y}}}} = 0}}\mspace{20mu} {c_{2} = \frac{\int\limits_{\Omega}{\left( {u^{\prime}\left( {x,y} \right)} \right) \times \left( {1 - {H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}} \right){x}{y}}}{\int\limits_{\Omega}{\left( {1 - {H_{ɛ}\left( {\varphi \left( {x,y} \right)} \right)}} \right){x}{y}}}}} & \left\lbrack {{Math}\mspace{14mu} {Equation}\mspace{14mu} 3} \right\rbrack \end{matrix}$

Further, the updating of pixel value at step S150 is performed through Math Equation 4 below.

u ₀ ′=u ₀

u _(t+1) ′=u _(t) ′+Δs×f(u _(t) ′,c ₁ ,c ₂,delta)  [Math Equation 4]

Here, ut′ is the current pixel value, u_(t+1)′ is the updated pixel value, u₀ is the original pixel value, Δ s is the weighted value, f( ) is the kernel function, and delta is the value set by the user or set beforehand. As can be seen from Math Equation 4, the updated pixel value equals the multiplication of the weighted value and the kernel function value determined by the pixel value and the representative values plus the pixel value.

The kernel function f( ) used in updating the pixel value is represented as in Math Equation 5 shown below.

$\begin{matrix} {{f\left( {u_{t}^{\prime},c_{1},c_{2},{delta}} \right)} = \left\{ \begin{matrix} {{{{sign}\left( {c_{1}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{1}^{\prime} - u^{\prime}}}};} & {i \in c_{1}} \\ {{{{sign}\left( {c_{2}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{2}^{\prime} - u^{\prime}}}};} & {i \notin c_{1}} \end{matrix} \right.} & \left\lbrack {{Math}\mspace{14mu} {Equation}\mspace{14mu} 5} \right\rbrack \end{matrix}$

Here, c₁′ and c₂′ are updated values of c₁ and c₂, respectively. c₁′ and c₂′ are calculated through Math Equation 6 shown below.

$\begin{matrix} {{\left. {\left. \begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{d}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{i}}} \end{matrix} \right\},{{{in}\mspace{14mu} c_{1}} < {c_{2}\begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{i}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{d}}} \end{matrix}}}} \right\},{{{in}\mspace{14mu} c_{1}} \geq c_{2}}}{{\Delta \; c_{i}} = \left( {2 + {\Delta \; c}} \right)}{{\Delta \; c_{d}} = \left( {2 - {\Delta \; c}} \right)}} & \left\lbrack {{Math}\mspace{14mu} {Equation}\mspace{14mu} 6} \right\rbrack \end{matrix}$

Here, Δc the delta.

FIG. 2 illustrates a block diagram of an image system capable of performing the region segmentation method illustrated in FIG. 1. As illustrated in FIG. 2, the image system includes an image inputter 210, a processor 220, an image outputter 230 and a user inputter 240.

The image inputter 210 provides an original image to the processor 220. The image inputter 210 is a communication interface for receiving the original image from a storage medium, an external device, or a network where the original image is stored.

The processor 220 performs the algorithm presented in FIG. 1 in order to separate a region from the original image input from the image inputter 210, and receives setting of the initial region by the user through the user inputter 240. The processor 240 includes a graphic processing unit (GPU) and a central processing unit (CPU).

The image outputter 230 is a means for outputting the region segmented image being output from the processor 220 through a display, or for transmitting the same to an external apparatus or a network.

Hereinabove, preferable embodiments of the region segmentation method and the image system for performing the same were explained in detail.

The embodiments of the present disclosure may be applied to not only medical image analyzing but also extracting/tracking an object of interest, and producing contents, etc.

The foregoing exemplary embodiments and advantages are merely exemplary and are not to be construed as limiting the present invention. The present teaching can be readily applied to other types of apparatuses. Also, the description of the exemplary embodiments of the present invention is intended to be illustrative, and not to limit the scope of the claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art. 

What is claimed is:
 1. An image segmentation method comprising: receiving setting of a region in an input image; calculating representative values for each of an internal portion and an external portion of the region; and calculating a cost by substituting the representative values and a pixel value of the image in a cost function, and updating the region based on the calculated cost, wherein the cost function includes a term in which a difference between the updated pixel value and an original pixel value is reflected.
 2. The image segmentation method of claim 1, wherein the calculating and the updating are iterated while updating the pixel value.
 3. The image segmentation method of claim 2, wherein the pixel value is updated by adding the pixel value to a multiplication of a weighted value and a kernel function value determined by the pixel value and the representative values.
 4. The image segmentation method of claim 3, wherein the pixel value is updated using Math Equation: u ₀ ′=u ₀ u _(t+1) ′=u _(t) ′+Δs×f(u _(t) ′,c ₁ ,c ₂,delta) wherein u_(t)′ is the pixel value, u₀ is the original pixel value, Δ s is the weighted value, f( ) is the kernel function, c₁ is a representative value of the internal portion of the region, c₂ is a representative value of the external portion of the region, and delta is a predetermined constant number.
 5. The image segmentation method of claim 4, wherein the f( ) is represented as in Math Equation: $\left. {{{f\left( {u_{t}^{\prime},c_{1},c_{2},{delta}} \right)} = \left\{ {\begin{matrix} {{{{sign}\left( {c_{1}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{1}^{\prime} - u^{\prime}}}};} & {i \in c_{1}} \\ {{{{sign}\left( {c_{2}^{\prime} - u_{t}^{\prime}} \right)} \times {{c_{2}^{\prime} - u^{\prime}}}};} & {i \notin c_{1}} \end{matrix}\begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{d}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{i}}} \end{matrix}} \right\}},{{{in}\mspace{14mu} c_{1}} < {c_{2}\begin{matrix} {c_{1}^{\prime} = {c_{1} \times \Delta \; c_{i}}} \\ {c_{2}^{\prime} = {c_{2} \times \Delta \; c_{d}}} \end{matrix}}}} \right\},{{{in}\mspace{14mu} c_{1}} \geq c_{2}}$ Δ c_(i) = (2 + Δ c) Δ c_(d) = (2 − Δ c) wherein Δc is delta.
 6. The image segmentation method of claim 1, wherein the term in which a difference between the updated pixel value and an original pixel value is reflected is expressed as a multiplication of a coefficient and the difference between the updated pixel value and the original pixel value.
 7. An image system comprising: an inputter configured to receive setting of an region by a user in an input image; and a processor configured to calculate representative values for each of an internal portion and an external portion of the region, and to calculate a cost by substituting the representative values and a pixel value of the image in a cost function, and to update the region based on the calculated cost, wherein the cost function includes a term in which a difference between the updated pixel value and an original pixel value is reflected.
 8. The image system of claim 7, wherein the processor iterates while updating the pixel value by adding the pixel value to a multiplication of a weighted value and a kernel function value determined by the pixel value and the representative values. 